package org.com.ashen.service.service.smssendlogmanage.sms.util.http;

import java.util.List;
import java.util.Map;


public class HttpResponse<T> {

	
	private HttpResultCode resultCode;

	
	private int httpCode;

	
	private Map<String, String> headers;

	
	private List<String> cookies;
	
	private String charSet;
	
	private T result;

	public HttpResponse(HttpResultCode resultCode, int httpCode, Map<String, String> headers, List<String> cookies, String charSet, T result) {
		this.resultCode = resultCode;
		this.httpCode = httpCode;
		this.headers = headers;
		this.cookies = cookies;
		this.charSet = charSet;
		this.result = result;
	}

	public HttpResultCode getResultCode() {
		return resultCode;
	}

	public void setResultCode(HttpResultCode resultCode) {
		this.resultCode = resultCode;
	}

	public int getHttpCode() {
		return httpCode;
	}

	public void setHttpCode(int httpCode) {
		this.httpCode = httpCode;
	}

	public Map<String, String> getHeaders() {
		return headers;
	}

	public void setHeaders(Map<String, String> headers) {
		this.headers = headers;
	}

	public List<String> getCookies() {
		return cookies;
	}

	public void setCookies(List<String> cookies) {
		this.cookies = cookies;
	}

	public String getCharSet() {
		return charSet;
	}

	public void setCharSet(String charSet) {
		this.charSet = charSet;
	}

	public T getResult() {
		return result;
	}

	public void setResult(T result) {
		this.result = result;
	}

}
